Home / comp / gb / string[] / join 
String[].Join (gb)
Syntax
FUNCTION Join ( [ Separator AS String, Escape AS String ] ) AS String
Concatenates the strings stored in the arrays.

Escape characters inside strings are duplicated.

This function is the contrary of the Split subroutine.

Examples

DIM aClaim AS String[]

aClaim = [ "Gambas", "Almost", "Means", "Basic", "!" ]
PRINT aClaim.Join("/")
PRINT aClaim.Join(",", "!")
<hr>Gambas/Almost/Means/Basic/!
!Gambas!,!Almost!,!Means!,!Basic!,!!!!

See also

Split